﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;

namespace TransportMe
{
    public class CarPark
    {
        private string carparkID;
        private string name;
        private double cost;
        private DateTime startTime;
        private DateTime endTime;
        private double longitude;
        private double latitude;
        private string mrt;

        public static List<CarPark> listOfCarParks = new List<CarPark>();

        public CarPark(string ID, string n, double c, DateTime st, DateTime et, double lo, double la, string m)
        {
            carparkID = ID;
            name = n;
            cost = c;
            startTime = st;
            endTime = et;
            longitude = lo;
            latitude = la;
            mrt = m;
        }

        public string CarParkID { get; set; }
        public string Name { get; set; }
        public double Cost { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public double Longitude { get; set; }
        public double Latitude { get; set; }
        public string Mrt { get; set; }
    }
}
